package com.chuanyang.driverh.responseresult;

import java.io.Serializable;
import java.util.List;

/**
 * Created by eason on 2016/9/19.
 */
public class LinesManageData  implements Serializable {

    /**
     * data : [{"driverId":13,"id":3,"startAddr":"上海","startCity":"上海","targetAddr":"北京","targetCity":"北京"},{"driverId":13,"id":4,"startAddr":"上海","startCity":"上海","targetAddr":"南京","targetCity":"南京"}]
     * total : 2
     * totalPages : 1
     */

    private int total;
    private int totalPages;
    /**
     * driverId : 13
     * id : 3
     * startAddr : 上海
     * startCity : 上海
     * targetAddr : 北京
     * targetCity : 北京
     */

    private List<DataBean> data;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean  implements Serializable {
        private int driverId;
        private int id;
        private String startAddr;
        private String startCity;
        private String targetAddr;
        private String targetCity;

        public int getDriverId() {
            return driverId;
        }

        public void setDriverId(int driverId) {
            this.driverId = driverId;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getStartAddr() {
            return startAddr;
        }

        public void setStartAddr(String startAddr) {
            this.startAddr = startAddr;
        }

        public String getStartCity() {
            return startCity;
        }

        public void setStartCity(String startCity) {
            this.startCity = startCity;
        }

        public String getTargetAddr() {
            return targetAddr;
        }

        public void setTargetAddr(String targetAddr) {
            this.targetAddr = targetAddr;
        }

        public String getTargetCity() {
            return targetCity;
        }

        public void setTargetCity(String targetCity) {
            this.targetCity = targetCity;
        }
    }
}
